package com.ihr360.payroll.model.dto.salary.embeddable;

import com.ihr360.commons.model.type.RoundingMode;
import com.ihr360.payroll.model.dto.salary.superclass.AbstractSalaryFieldValue;

import javax.persistence.Embeddable;

/**
 * 薪酬字段值定义
 */
@Embeddable
public class SalaryFieldValue extends AbstractSalaryFieldValue<SalaryFieldValue> {
    public SalaryFieldValue() {
    }

    public SalaryFieldValue(int partten, RoundingMode mode) {
        this.pattern = partten;
        this.roundingMode = mode;
    }
}